import dayjs from 'dayjs';

export function formatDate(timestamp, format = 'YYYY-MM-DD HH:mm:ss') {
    return dayjs(timestamp).format(format);
}